package com.example.mytips;

import com.intellij.openapi.components.ApplicationComponent;
import org.jetbrains.annotations.NotNull;

public class MyApplicationComponent implements ApplicationComponent {
    private ImagePopupPlugin imagePopupPlugin;

    @Override
    public void initComponent() {
        imagePopupPlugin = new ImagePopupPlugin();
    }

    @Override
    public void disposeComponent() {
        // 在这里释放你的资源
    }

    @NotNull
    @Override
    public String getComponentName() {
        return "MyApplicationComponent";
    }
}
